
class MyCollectionListByCollectionIdHeadModel {
  String? collectionName;
  String? coverImageUrl;
  String? daoName;
  String? seriesName;
  int? productCount;
  int? totalIssueCount;
  bool? transferable;
  bool? externalTransferable;
  dynamic totalPriceLimit;
  String? saleStartTime;
  String? saleEndTime;
  String? serviceCharge;
  String?collectionEquity;
  MyCollectionListByCollectionIdHeadModel({this.collectionEquity, this.serviceCharge,this.collectionName, this.coverImageUrl, this.daoName, this.seriesName, this.productCount, this.totalIssueCount, this.transferable, this.externalTransferable, this.totalPriceLimit, this.saleStartTime, this.saleEndTime});

  MyCollectionListByCollectionIdHeadModel.fromJson(Map<String, dynamic> json) {
    collectionName = json["collectionName"];
    coverImageUrl = json["coverImageUrl"];
    daoName = json["daoName"];
    seriesName = json["seriesName"];
    productCount = json["productCount"];
    totalIssueCount = json["totalIssueCount"];
    transferable = json["transferable"];
    externalTransferable = json["externalTransferable"];
    totalPriceLimit = json["totalPriceLimit"];
    saleStartTime = json["saleStartTime"];
    saleEndTime = json["saleEndTime"];
    serviceCharge = json["serviceCharge"];
     collectionEquity = json["collectionEquity"];
  }

  static List<MyCollectionListByCollectionIdHeadModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(MyCollectionListByCollectionIdHeadModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["collectionName"] = collectionName;
    _data["coverImageUrl"] = coverImageUrl;
    _data["daoName"] = daoName;
    _data["seriesName"] = seriesName;
    _data["productCount"] = productCount;
    _data["totalIssueCount"] = totalIssueCount;
    _data["transferable"] = transferable;
    _data["externalTransferable"] = externalTransferable;
    _data["totalPriceLimit"] = totalPriceLimit;
    _data["saleStartTime"] = saleStartTime;
    _data["saleEndTime"] = saleEndTime;
    _data["serviceCharge"] = serviceCharge;
     _data["collectionEquity"] = collectionEquity;
    return _data;
  }

  MyCollectionListByCollectionIdHeadModel copyWith({
    String? collectionName,
    String? coverImageUrl,
    String? daoName,
    String? seriesName,
    int? productCount,
    int? totalIssueCount,
    bool? transferable,
    bool? externalTransferable,
    dynamic totalPriceLimit,
    String? saleStartTime,
    String? saleEndTime,
    String? serviceCharge,
      String?collectionEquity
  }) => MyCollectionListByCollectionIdHeadModel(
    collectionName: collectionName ?? this.collectionName,
    coverImageUrl: coverImageUrl ?? this.coverImageUrl,
    daoName: daoName ?? this.daoName,
    seriesName: seriesName ?? this.seriesName,
    productCount: productCount ?? this.productCount,
    totalIssueCount: totalIssueCount ?? this.totalIssueCount,
    transferable: transferable ?? this.transferable,
    externalTransferable: externalTransferable ?? this.externalTransferable,
    totalPriceLimit: totalPriceLimit ?? this.totalPriceLimit,
    saleStartTime: saleStartTime ?? this.saleStartTime,
    saleEndTime: saleEndTime ?? this.saleEndTime,
      serviceCharge: serviceCharge ?? this.serviceCharge,
         collectionEquity: collectionEquity ?? this.collectionEquity,
  );
}